package com.suoluo.zenadmin.vo.share;

import java.util.Date;

public class AuthedVO {

	private String openId;
	private String token;
	private long expireIn;
	private int openType;
	private String screenName;
	
	private String domainName;
	
	private String head;
	private int gender;
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public long getExpireIn() {
		return expireIn;
	}
	
	public Date getExpireDate(){
		long mills = System.currentTimeMillis() + expireIn * 1000;
		Date date = new Date(mills);
		return date;
	}
	public void setExpireIn(long expireIn) {
		this.expireIn = expireIn;
	}
	public int getOpenType() {
		return openType;
	}
	public void setOpenType(int openType) {
		this.openType = openType;
	}
	public String getScreenName() {
		return screenName;
	}
	public void setScreenName(String screenName) {
		this.screenName = screenName;
	}
	public String getDomainName() {
		return domainName;
	}
	public void setDomainName(String domainName) {
		this.domainName = domainName;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	
	
}
